package com.oraclefmw.crusher.core;

import java.nio.ByteBuffer;

public class Utils {
	
	public static byte[] buffer2Bytes(ByteBuffer bb) {

		byte[] bytes = new byte[bb.remaining()];
		bb.get(bytes, 0, bytes.length);

		return bytes;
	}
}
